package com.htwx.dao;

import com.htwx.entity.FactoryLocation;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface FactoryLocationDao {


     //查询所有工厂位置信息
    public  List<FactoryLocation> getFactorylocationAll();
    //根据id查询
    public List<FactoryLocation> findFactoryLocationBylocaitonId(@Param("factorylocationId") String factorylocationId);
    //插入
    public Integer insertFactoryLocation(FactoryLocation factoryLocation);

    //修改
    public Integer updateFactoryLocation(FactoryLocation factoryLocation);

    //删除
    public Integer deleteFactoryLocation(Integer locationId);
}
